package com.guigu.qxl.service.impl;

import com.guigu.qxl.mapper.SysRolesMapper;
import com.guigu.pojo.SysRoles;
import com.guigu.pojo.SysUsers;
import com.guigu.qxl.service.SysRolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRolesServiceImpl implements SysRolesService {
    @Autowired
    SysRolesMapper sysRolesMapper;

    @Override
    public List<SysRoles> showRoleByUsers(SysUsers sysUsers) {
        return sysRolesMapper.showRoleByUsers(sysUsers);
    }
}
